package com.hl.service;

import com.hl.domain.ChatMessageDO;

import java.util.Date;
import java.util.List;

public interface ChatMessageService {
    void saveIncoming(String messageId, String from, String to, String content, int contentType);
    List<ChatMessageDO> listHistory(String me, String peer, Date before, int pageSize);
    void markRead(String me, String peer);
}

